export default class Modal {
  public toastMsg(message: string) {
    uni.showToast({
      icon: 'none',
      title: message
    })
  }
  public toastSuccessMsg(message: string) {
    uni.showToast({
      icon: 'success',
      title: message
    })
  }
  public toastErrorMsg(message: string): string {
    uni.showToast({
      icon: 'error',
      title: message
    })
    return message
  }
}
